<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<title>ClassUtils (Apache Commons Lang 3.3.2 API)</title>
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="ClassUtils (Apache Commons Lang 3.3.2 API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ClassUtils.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/commons/lang3/ClassPathUtils.html" title="class in org.apache.commons.lang3"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/commons/lang3/ClassUtils.Interfaces.html" title="enum in org.apache.commons.lang3"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/commons/lang3/ClassUtils.html" target="_top">Frames</a></li>
<li><a href="ClassUtils.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.commons.lang3</div>
<h2 title="Class ClassUtils" class="title">Class ClassUtils</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.commons.lang3.ClassUtils</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">ClassUtils</span>
extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block"><p>Operates on classes without using reflection.</p>

 <p>This class handles invalid <code>null</code> inputs as best it can.
 Each method documents its behaviour in more detail.</p>

 <p>The notion of a <code>canonical name</code> includes the human
 readable name for the type, for example <code>int[]</code>. The
 non-canonical method variants work with the JVM names, such as
 <code>[I</code>. </p></div>
<dl><dt><span class="strong">Since:</span></dt>
  <dd>2.0</dd>
<dt><span class="strong">Version:</span></dt>
  <dd>$Id: ClassUtils.java 1582669 2014-03-28 10:05:06Z britter $</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!--   -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.Interfaces.html" title="enum in org.apache.commons.lang3">ClassUtils.Interfaces</a></strong></code>
<div class="block">Inclusivity literals for <a href="../../../../org/apache/commons/lang3/ClassUtils.html#hierarchy(java.lang.Class, org.apache.commons.lang3.ClassUtils.Interfaces)"><code>hierarchy(Class, Interfaces)</code></a>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#INNER_CLASS_SEPARATOR">INNER_CLASS_SEPARATOR</a></strong></code>
<div class="block">The inner class separator String: <code>"$"</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static char</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#INNER_CLASS_SEPARATOR_CHAR">INNER_CLASS_SEPARATOR_CHAR</a></strong></code>
<div class="block">The inner class separator character: <code>'$' == 36</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#PACKAGE_SEPARATOR">PACKAGE_SEPARATOR</a></strong></code>
<div class="block">The package separator String: <code>"&#x2e;"</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static char</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#PACKAGE_SEPARATOR_CHAR">PACKAGE_SEPARATOR_CHAR</a></strong></code>
<div class="block">The package separator character: <code>'&#x2e;' == 46</code>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#ClassUtils()">ClassUtils</a></strong>()</code>
<div class="block">ClassUtils instances should NOT be constructed in standard programming.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#convertClassesToClassNames(java.util.List)">convertClassesToClassNames</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;classes)</code>
<div class="block">Given a <code>List</code> of <code>Class</code> objects, this method converts
 them into class names.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#convertClassNamesToClasses(java.util.List)">convertClassNamesToClasses</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;classNames)</code>
<div class="block">Given a <code>List</code> of class names, this method converts them into classes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getAllInterfaces(java.lang.Class)">getAllInterfaces</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Gets a <code>List</code> of all interfaces implemented by the given
 class and its superclasses.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getAllSuperclasses(java.lang.Class)">getAllSuperclasses</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Gets a <code>List</code> of superclasses for the given class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getClass(java.lang.ClassLoader, java.lang.String)">getClass</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)</code>
<div class="block">Returns the (initialized) class represented by <code>className</code>
 using the <code>classLoader</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getClass(java.lang.ClassLoader, java.lang.String, boolean)">getClass</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
        <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
        boolean&nbsp;initialize)</code>
<div class="block">Returns the class represented by <code>className</code> using the
 <code>classLoader</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getClass(java.lang.String)">getClass</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)</code>
<div class="block">Returns the (initialized) class represented by <code>className</code>
 using the current thread's context class loader.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getClass(java.lang.String, boolean)">getClass</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
        boolean&nbsp;initialize)</code>
<div class="block">Returns the class represented by <code>className</code> using the
 current thread's context class loader.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getPackageCanonicalName(java.lang.Class)">getPackageCanonicalName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Gets the package name from the canonical name of a <code>Class</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getPackageCanonicalName(java.lang.Object, java.lang.String)">getPackageCanonicalName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
                       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueIfNull)</code>
<div class="block">Gets the package name from the canonical name of an <code>Object</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getPackageCanonicalName(java.lang.String)">getPackageCanonicalName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;canonicalName)</code>
<div class="block">Gets the package name from the canonical name.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getPackageName(java.lang.Class)">getPackageName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Gets the package name of a <code>Class</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getPackageName(java.lang.Object, java.lang.String)">getPackageName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
              <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueIfNull)</code>
<div class="block">Gets the package name of an <code>Object</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getPackageName(java.lang.String)">getPackageName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)</code>
<div class="block">Gets the package name from a <code>String</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getPublicMethod(java.lang.Class, java.lang.String, java.lang.Class...)">getPublicMethod</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;methodName,
               <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;parameterTypes)</code>
<div class="block">Returns the desired Method much like <code>Class.getMethod</code>, however
 it ensures that the returned Method is from a public class or interface and not
 from an anonymous inner class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getShortCanonicalName(java.lang.Class)">getShortCanonicalName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Gets the canonical name minus the package name from a <code>Class</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getShortCanonicalName(java.lang.Object, java.lang.String)">getShortCanonicalName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueIfNull)</code>
<div class="block">Gets the canonical name minus the package name for an <code>Object</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getShortCanonicalName(java.lang.String)">getShortCanonicalName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;canonicalName)</code>
<div class="block">Gets the canonical name minus the package name from a String.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getShortClassName(java.lang.Class)">getShortClassName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Gets the class name minus the package name from a <code>Class</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getShortClassName(java.lang.Object, java.lang.String)">getShortClassName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueIfNull)</code>
<div class="block">Gets the class name minus the package name for an <code>Object</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getShortClassName(java.lang.String)">getShortClassName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)</code>
<div class="block">Gets the class name minus the package name from a String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getSimpleName(java.lang.Class)">getSimpleName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Null-safe version of <code>aClass.getSimpleName()</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#getSimpleName(java.lang.Object, java.lang.String)">getSimpleName</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueIfNull)</code>
<div class="block">Null-safe version of <code>aClass.getSimpleName()</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#hierarchy(java.lang.Class)">hierarchy</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</code>
<div class="block">Get an <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> that can iterate over a class hierarchy in ascending (subclass to superclass) order,
 excluding interfaces.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#hierarchy(java.lang.Class, org.apache.commons.lang3.ClassUtils.Interfaces)">hierarchy</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type,
         <a href="../../../../org/apache/commons/lang3/ClassUtils.Interfaces.html" title="enum in org.apache.commons.lang3">ClassUtils.Interfaces</a>&nbsp;interfacesBehavior)</code>
<div class="block">Get an <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> that can iterate over a class hierarchy in ascending (subclass to superclass) order.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#isAssignable(java.lang.Class[], java.lang.Class...)">isAssignable</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;classArray,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;toClassArray)</code>
<div class="block">Checks if an array of Classes can be assigned to another array of Classes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#isAssignable(java.lang.Class[], java.lang.Class[], boolean)">isAssignable</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;classArray,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;toClassArray,
            boolean&nbsp;autoboxing)</code>
<div class="block">Checks if an array of Classes can be assigned to another array of Classes.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#isAssignable(java.lang.Class, java.lang.Class)">isAssignable</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;toClass)</code>
<div class="block">Checks if one <code>Class</code> can be assigned to a variable of
 another <code>Class</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#isAssignable(java.lang.Class, java.lang.Class, boolean)">isAssignable</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
            <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;toClass,
            boolean&nbsp;autoboxing)</code>
<div class="block">Checks if one <code>Class</code> can be assigned to a variable of
 another <code>Class</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#isInnerClass(java.lang.Class)">isInnerClass</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Is the specified class an inner class or static nested class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#isPrimitiveOrWrapper(java.lang.Class)">isPrimitiveOrWrapper</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</code>
<div class="block">Returns whether the given <code>type</code> is a primitive or primitive wrapper (<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang"><code>Byte</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang"><code>Character</code></a>,
 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang"><code>Short</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><code>Long</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang"><code>Float</code></a>).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#isPrimitiveWrapper(java.lang.Class)">isPrimitiveWrapper</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</code>
<div class="block">Returns whether the given <code>type</code> is a primitive wrapper (<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang"><code>Byte</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang"><code>Character</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang"><code>Short</code></a>,
 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><code>Long</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang"><code>Float</code></a>).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#primitivesToWrappers(java.lang.Class...)">primitivesToWrappers</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;classes)</code>
<div class="block">Converts the specified array of primitive Class objects to an array of
 its corresponding wrapper Class objects.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#primitiveToWrapper(java.lang.Class)">primitiveToWrapper</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Converts the specified primitive Class object to its corresponding
 wrapper Class object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#toClass(java.lang.Object...)">toClass</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;array)</code>
<div class="block">Converts an array of <code>Object</code> in to an array of <code>Class</code> objects.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#wrappersToPrimitives(java.lang.Class...)">wrappersToPrimitives</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;classes)</code>
<div class="block">Converts the specified array of wrapper Class objects to an array of
 its corresponding primitive Class objects.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../org/apache/commons/lang3/ClassUtils.html#wrapperToPrimitive(java.lang.Class)">wrapperToPrimitive</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</code>
<div class="block">Converts the specified wrapper class to its corresponding primitive
 class.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="PACKAGE_SEPARATOR_CHAR">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PACKAGE_SEPARATOR_CHAR</h4>
<pre>public static final&nbsp;char PACKAGE_SEPARATOR_CHAR</pre>
<div class="block">The package separator character: <code>'&#x2e;' == 46</code>.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.commons.lang3.ClassUtils.PACKAGE_SEPARATOR_CHAR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="PACKAGE_SEPARATOR">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PACKAGE_SEPARATOR</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> PACKAGE_SEPARATOR</pre>
<div class="block">The package separator String: <code>"&#x2e;"</code>.</div>
</li>
</ul>
<a name="INNER_CLASS_SEPARATOR_CHAR">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>INNER_CLASS_SEPARATOR_CHAR</h4>
<pre>public static final&nbsp;char INNER_CLASS_SEPARATOR_CHAR</pre>
<div class="block">The inner class separator character: <code>'$' == 36</code>.</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#org.apache.commons.lang3.ClassUtils.INNER_CLASS_SEPARATOR_CHAR">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="INNER_CLASS_SEPARATOR">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>INNER_CLASS_SEPARATOR</h4>
<pre>public static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> INNER_CLASS_SEPARATOR</pre>
<div class="block">The inner class separator String: <code>"$"</code>.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="ClassUtils()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ClassUtils</h4>
<pre>public&nbsp;ClassUtils()</pre>
<div class="block"><p>ClassUtils instances should NOT be constructed in standard programming.
 Instead, the class should be used as
 <code>ClassUtils.getShortClassName(cls)</code>.</p>

 <p>This constructor is public to permit tools that require a JavaBean
 instance to operate.</p></div>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getShortClassName(java.lang.Object, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShortClassName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getShortClassName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
                       <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueIfNull)</pre>
<div class="block"><p>Gets the class name minus the package name for an <code>Object</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the class to get the short name for, may be null</dd><dd><code>valueIfNull</code> - the value to return if null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the class name of the object without the package name, or the null value</dd></dl>
</li>
</ul>
<a name="getShortClassName(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShortClassName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getShortClassName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block"><p>Gets the class name minus the package name from a <code>Class</code>.</p>

 <p>Consider using the Java 5 API <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true#getSimpleName()" title="class or interface in java.lang"><code>Class.getSimpleName()</code></a> instead.
 The one known difference is that this code will return <code>"Map.Entry"</code> while
 the <code>java.lang.Class</code> variant will simply return <code>"Entry"</code>. </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class to get the short name for.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the class name without the package name or an empty string</dd></dl>
</li>
</ul>
<a name="getShortClassName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShortClassName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getShortClassName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)</pre>
<div class="block"><p>Gets the class name minus the package name from a String.</p>

 <p>The string passed in is assumed to be a class name - it is not checked.</p>

 <p>Note that this method differs from Class.getSimpleName() in that this will
 return <code>"Map.Entry"</code> whilst the <code>java.lang.Class</code> variant will simply
 return <code>"Entry"</code>. </p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>className</code> - the className to get the short name for</dd>
<dt><span class="strong">Returns:</span></dt><dd>the class name of the class without the package name or an empty string</dd></dl>
</li>
</ul>
<a name="getSimpleName(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSimpleName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getSimpleName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block"><p>Null-safe version of <code>aClass.getSimpleName()</code></p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class for which to get the simple name.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the simple class name.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true#getSimpleName()" title="class or interface in java.lang"><code>Class.getSimpleName()</code></a></dd></dl>
</li>
</ul>
<a name="getSimpleName(java.lang.Object, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSimpleName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getSimpleName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueIfNull)</pre>
<div class="block"><p>Null-safe version of <code>aClass.getSimpleName()</code></p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the object for which to get the simple class name.</dd><dd><code>valueIfNull</code> - the value to return if <code>object</code> is <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the simple class name.</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.0</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true#getSimpleName()" title="class or interface in java.lang"><code>Class.getSimpleName()</code></a></dd></dl>
</li>
</ul>
<a name="getPackageName(java.lang.Object, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPackageName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPackageName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
                    <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueIfNull)</pre>
<div class="block"><p>Gets the package name of an <code>Object</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the class to get the package name for, may be null</dd><dd><code>valueIfNull</code> - the value to return if null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the package name of the object, or the null value</dd></dl>
</li>
</ul>
<a name="getPackageName(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPackageName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPackageName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block"><p>Gets the package name of a <code>Class</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class to get the package name for, may be <code>null</code>.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the package name or an empty string</dd></dl>
</li>
</ul>
<a name="getPackageName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPackageName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPackageName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)</pre>
<div class="block"><p>Gets the package name from a <code>String</code>.</p>

 <p>The string passed in is assumed to be a class name - it is not checked.</p>
 <p>If the class is unpackaged, return an empty string.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>className</code> - the className to get the package name for, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the package name or an empty string</dd></dl>
</li>
</ul>
<a name="getAllSuperclasses(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllSuperclasses</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;getAllSuperclasses(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block"><p>Gets a <code>List</code> of superclasses for the given class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class to look up, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the <code>List</code> of superclasses in order going up from this one
  <code>null</code> if null input</dd></dl>
</li>
</ul>
<a name="getAllInterfaces(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllInterfaces</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;getAllInterfaces(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block"><p>Gets a <code>List</code> of all interfaces implemented by the given
 class and its superclasses.</p>

 <p>The order is determined by looking through each interface in turn as
 declared in the source file and following its hierarchy up. Then each
 superclass is considered in the same way. Later duplicates are ignored,
 so the order is maintained.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class to look up, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the <code>List</code> of interfaces in order,
  <code>null</code> if null input</dd></dl>
</li>
</ul>
<a name="convertClassNamesToClasses(java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convertClassNamesToClasses</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;convertClassNamesToClasses(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;classNames)</pre>
<div class="block"><p>Given a <code>List</code> of class names, this method converts them into classes.</p>

 <p>A new <code>List</code> is returned. If the class name cannot be found, <code>null</code>
 is stored in the <code>List</code>. If the class name in the <code>List</code> is
 <code>null</code>, <code>null</code> is stored in the output <code>List</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classNames</code> - the classNames to change</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>List</code> of Class objects corresponding to the class names,
  <code>null</code> if null input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</a></code> - if classNames contains a non String entry</dd></dl>
</li>
</ul>
<a name="convertClassesToClassNames(java.util.List)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>convertClassesToClassNames</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;convertClassesToClassNames(<a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;classes)</pre>
<div class="block"><p>Given a <code>List</code> of <code>Class</code> objects, this method converts
 them into class names.</p>

 <p>A new <code>List</code> is returned. <code>null</code> objects will be copied into
 the returned list as <code>null</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classes</code> - the classes to change</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>List</code> of class names corresponding to the Class objects,
  <code>null</code> if null input</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassCastException.html?is-external=true" title="class or interface in java.lang">ClassCastException</a></code> - if <code>classes</code> contains a non-<code>Class</code> entry</dd></dl>
</li>
</ul>
<a name="isAssignable(java.lang.Class[], java.lang.Class...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAssignable</h4>
<pre>public static&nbsp;boolean&nbsp;isAssignable(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;classArray,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;toClassArray)</pre>
<div class="block"><p>Checks if an array of Classes can be assigned to another array of Classes.</p>

 <p>This method calls <a href="../../../../org/apache/commons/lang3/ClassUtils.html#isAssignable(java.lang.Class, java.lang.Class)"><code>isAssignable</code></a> for each
 Class pair in the input arrays. It can be used to check if a set of arguments
 (the first parameter) are suitably compatible with a set of method parameter types
 (the second parameter).</p>

 <p>Unlike the <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true#isAssignableFrom(java.lang.Class)" title="class or interface in java.lang"><code>Class.isAssignableFrom(java.lang.Class)</code></a> method, this
 method takes into account widenings of primitive classes and
 <code>null</code>s.</p>

 <p>Primitive widenings allow an int to be assigned to a <code>long</code>,
 <code>float</code> or <code>double</code>. This method returns the correct
 result for these cases.</p>

 <p><code>Null</code> may be assigned to any reference type. This method will
 return <code>true</code> if <code>null</code> is passed in and the toClass is
 non-primitive.</p>

 <p>Specifically, this method tests whether the type represented by the
 specified <code>Class</code> parameter can be converted to the type
 represented by this <code>Class</code> object via an identity conversion
 widening primitive or widening reference conversion. See
 <em><a href="http://docs.oracle.com/javase/specs/">The Java Language Specification</a></em>,
 sections 5.1.1, 5.1.2 and 5.1.4 for details.</p>

 <p><strong>Since Lang 3.0,</strong> this method will default behavior for
 calculating assignability between primitive and wrapper types <em>corresponding
 to the running Java version</em>; i.e. autoboxing will be the default
 behavior in VMs running Java versions &gt; 1.5.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classArray</code> - the array of Classes to check, may be <code>null</code></dd><dd><code>toClassArray</code> - the array of Classes to try to assign into, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if assignment possible</dd></dl>
</li>
</ul>
<a name="isAssignable(java.lang.Class[], java.lang.Class[], boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAssignable</h4>
<pre>public static&nbsp;boolean&nbsp;isAssignable(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;classArray,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;toClassArray,
                   boolean&nbsp;autoboxing)</pre>
<div class="block"><p>Checks if an array of Classes can be assigned to another array of Classes.</p>

 <p>This method calls <a href="../../../../org/apache/commons/lang3/ClassUtils.html#isAssignable(java.lang.Class, java.lang.Class)"><code>isAssignable</code></a> for each
 Class pair in the input arrays. It can be used to check if a set of arguments
 (the first parameter) are suitably compatible with a set of method parameter types
 (the second parameter).</p>

 <p>Unlike the <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true#isAssignableFrom(java.lang.Class)" title="class or interface in java.lang"><code>Class.isAssignableFrom(java.lang.Class)</code></a> method, this
 method takes into account widenings of primitive classes and
 <code>null</code>s.</p>

 <p>Primitive widenings allow an int to be assigned to a <code>long</code>,
 <code>float</code> or <code>double</code>. This method returns the correct
 result for these cases.</p>

 <p><code>Null</code> may be assigned to any reference type. This method will
 return <code>true</code> if <code>null</code> is passed in and the toClass is
 non-primitive.</p>

 <p>Specifically, this method tests whether the type represented by the
 specified <code>Class</code> parameter can be converted to the type
 represented by this <code>Class</code> object via an identity conversion
 widening primitive or widening reference conversion. See
 <em><a href="http://docs.oracle.com/javase/specs/">The Java Language Specification</a></em>,
 sections 5.1.1, 5.1.2 and 5.1.4 for details.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classArray</code> - the array of Classes to check, may be <code>null</code></dd><dd><code>toClassArray</code> - the array of Classes to try to assign into, may be <code>null</code></dd><dd><code>autoboxing</code> - whether to use implicit autoboxing/unboxing between primitives and wrappers</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if assignment possible</dd></dl>
</li>
</ul>
<a name="isPrimitiveOrWrapper(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPrimitiveOrWrapper</h4>
<pre>public static&nbsp;boolean&nbsp;isPrimitiveOrWrapper(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</pre>
<div class="block">Returns whether the given <code>type</code> is a primitive or primitive wrapper (<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang"><code>Byte</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang"><code>Character</code></a>,
 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang"><code>Short</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><code>Long</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang"><code>Float</code></a>).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The class to query or null.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the given <code>type</code> is a primitive or primitive wrapper (<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang"><code>Byte</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang"><code>Character</code></a>,
         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang"><code>Short</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><code>Long</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang"><code>Float</code></a>).</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.1</dd></dl>
</li>
</ul>
<a name="isPrimitiveWrapper(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPrimitiveWrapper</h4>
<pre>public static&nbsp;boolean&nbsp;isPrimitiveWrapper(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</pre>
<div class="block">Returns whether the given <code>type</code> is a primitive wrapper (<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang"><code>Byte</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang"><code>Character</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang"><code>Short</code></a>,
 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><code>Long</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang"><code>Float</code></a>).</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - The class to query or null.</dd>
<dt><span class="strong">Returns:</span></dt><dd>true if the given <code>type</code> is a primitive wrapper (<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang"><code>Boolean</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Byte.html?is-external=true" title="class or interface in java.lang"><code>Byte</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Character.html?is-external=true" title="class or interface in java.lang"><code>Character</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang"><code>Short</code></a>,
         <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><code>Long</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang"><code>Float</code></a>).</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.1</dd></dl>
</li>
</ul>
<a name="isAssignable(java.lang.Class, java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAssignable</h4>
<pre>public static&nbsp;boolean&nbsp;isAssignable(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;toClass)</pre>
<div class="block"><p>Checks if one <code>Class</code> can be assigned to a variable of
 another <code>Class</code>.</p>

 <p>Unlike the <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true#isAssignableFrom(java.lang.Class)" title="class or interface in java.lang"><code>Class.isAssignableFrom(java.lang.Class)</code></a> method,
 this method takes into account widenings of primitive classes and
 <code>null</code>s.</p>

 <p>Primitive widenings allow an int to be assigned to a long, float or
 double. This method returns the correct result for these cases.</p>

 <p><code>Null</code> may be assigned to any reference type. This method
 will return <code>true</code> if <code>null</code> is passed in and the
 toClass is non-primitive.</p>

 <p>Specifically, this method tests whether the type represented by the
 specified <code>Class</code> parameter can be converted to the type
 represented by this <code>Class</code> object via an identity conversion
 widening primitive or widening reference conversion. See
 <em><a href="http://docs.oracle.com/javase/specs/">The Java Language Specification</a></em>,
 sections 5.1.1, 5.1.2 and 5.1.4 for details.</p>

 <p><strong>Since Lang 3.0,</strong> this method will default behavior for
 calculating assignability between primitive and wrapper types <em>corresponding
 to the running Java version</em>; i.e. autoboxing will be the default
 behavior in VMs running Java versions &gt; 1.5.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the Class to check, may be null</dd><dd><code>toClass</code> - the Class to try to assign into, returns false if null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if assignment possible</dd></dl>
</li>
</ul>
<a name="isAssignable(java.lang.Class, java.lang.Class, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isAssignable</h4>
<pre>public static&nbsp;boolean&nbsp;isAssignable(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
                   <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;toClass,
                   boolean&nbsp;autoboxing)</pre>
<div class="block"><p>Checks if one <code>Class</code> can be assigned to a variable of
 another <code>Class</code>.</p>

 <p>Unlike the <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true#isAssignableFrom(java.lang.Class)" title="class or interface in java.lang"><code>Class.isAssignableFrom(java.lang.Class)</code></a> method,
 this method takes into account widenings of primitive classes and
 <code>null</code>s.</p>

 <p>Primitive widenings allow an int to be assigned to a long, float or
 double. This method returns the correct result for these cases.</p>

 <p><code>Null</code> may be assigned to any reference type. This method
 will return <code>true</code> if <code>null</code> is passed in and the
 toClass is non-primitive.</p>

 <p>Specifically, this method tests whether the type represented by the
 specified <code>Class</code> parameter can be converted to the type
 represented by this <code>Class</code> object via an identity conversion
 widening primitive or widening reference conversion. See
 <em><a href="http://docs.oracle.com/javase/specs/">The Java Language Specification</a></em>,
 sections 5.1.1, 5.1.2 and 5.1.4 for details.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the Class to check, may be null</dd><dd><code>toClass</code> - the Class to try to assign into, returns false if null</dd><dd><code>autoboxing</code> - whether to use implicit autoboxing/unboxing between primitives and wrappers</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if assignment possible</dd></dl>
</li>
</ul>
<a name="primitiveToWrapper(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>primitiveToWrapper</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;primitiveToWrapper(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block"><p>Converts the specified primitive Class object to its corresponding
 wrapper Class object.</p>

 <p>NOTE: From v2.2, this method handles <code>Void.TYPE</code>,
 returning <code>Void.TYPE</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class to convert, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the wrapper class for <code>cls</code> or <code>cls</code> if
 <code>cls</code> is not a primitive. <code>null</code> if null input.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="primitivesToWrappers(java.lang.Class...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>primitivesToWrappers</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;primitivesToWrappers(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;classes)</pre>
<div class="block"><p>Converts the specified array of primitive Class objects to an array of
 its corresponding wrapper Class objects.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classes</code> - the class array to convert, may be null or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array which contains for each given class, the wrapper class or
 the original class if class is not a primitive. <code>null</code> if null input.
 Empty array if an empty array passed in.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.1</dd></dl>
</li>
</ul>
<a name="wrapperToPrimitive(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wrapperToPrimitive</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;wrapperToPrimitive(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block"><p>Converts the specified wrapper class to its corresponding primitive
 class.</p>

 <p>This method is the counter part of <code>primitiveToWrapper()</code>.
 If the passed in class is a wrapper class for a primitive type, this
 primitive type will be returned (e.g. <code>Integer.TYPE</code> for
 <code>Integer.class</code>). For other classes, or if the parameter is
 <b>null</b>, the return value is <b>null</b>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class to convert, may be <b>null</b></dd>
<dt><span class="strong">Returns:</span></dt><dd>the corresponding primitive type if <code>cls</code> is a
 wrapper class, <b>null</b> otherwise</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/ClassUtils.html#primitiveToWrapper(java.lang.Class)"><code>primitiveToWrapper(Class)</code></a></dd></dl>
</li>
</ul>
<a name="wrappersToPrimitives(java.lang.Class...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>wrappersToPrimitives</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;wrappersToPrimitives(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;classes)</pre>
<div class="block"><p>Converts the specified array of wrapper Class objects to an array of
 its corresponding primitive Class objects.</p>

 <p>This method invokes <code>wrapperToPrimitive()</code> for each element
 of the passed in array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classes</code> - the class array to convert, may be null or empty</dd>
<dt><span class="strong">Returns:</span></dt><dd>an array which contains for each given class, the primitive class or
 <b>null</b> if the original class is not a wrapper class. <code>null</code> if null input.
 Empty array if an empty array passed in.</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd>
<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../org/apache/commons/lang3/ClassUtils.html#wrapperToPrimitive(java.lang.Class)"><code>wrapperToPrimitive(Class)</code></a></dd></dl>
</li>
</ul>
<a name="isInnerClass(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInnerClass</h4>
<pre>public static&nbsp;boolean&nbsp;isInnerClass(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block"><p>Is the specified class an inner class or static nested class.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class to check, may be null</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the class is an inner or static nested class,
  false if not or <code>null</code></dd></dl>
</li>
</ul>
<a name="getClass(java.lang.ClassLoader, java.lang.String, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClass</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getClass(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
                boolean&nbsp;initialize)
                         throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
<div class="block">Returns the class represented by <code>className</code> using the
 <code>classLoader</code>.  This implementation supports the syntaxes
 "<code>java.util.Map.Entry[]</code>", "<code>java.util.Map$Entry[]</code>",
 "<code>[Ljava.util.Map.Entry;</code>", and "<code>[Ljava.util.Map$Entry;</code>".</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classLoader</code> - the class loader to use to load the class</dd><dd><code>className</code> - the class name</dd><dd><code>initialize</code> - whether the class must be initialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>the class represented by <code>className</code> using the <code>classLoader</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code> - if the class is not found</dd></dl>
</li>
</ul>
<a name="getClass(java.lang.ClassLoader, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClass</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getClass(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a>&nbsp;classLoader,
                <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)
                         throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
<div class="block">Returns the (initialized) class represented by <code>className</code>
 using the <code>classLoader</code>.  This implementation supports
 the syntaxes "<code>java.util.Map.Entry[]</code>",
 "<code>java.util.Map$Entry[]</code>", "<code>[Ljava.util.Map.Entry;</code>",
 and "<code>[Ljava.util.Map$Entry;</code>".</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>classLoader</code> - the class loader to use to load the class</dd><dd><code>className</code> - the class name</dd>
<dt><span class="strong">Returns:</span></dt><dd>the class represented by <code>className</code> using the <code>classLoader</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code> - if the class is not found</dd></dl>
</li>
</ul>
<a name="getClass(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClass</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getClass(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className)
                         throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
<div class="block">Returns the (initialized) class represented by <code>className</code>
 using the current thread's context class loader. This implementation
 supports the syntaxes "<code>java.util.Map.Entry[]</code>",
 "<code>java.util.Map$Entry[]</code>", "<code>[Ljava.util.Map.Entry;</code>",
 and "<code>[Ljava.util.Map$Entry;</code>".</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>className</code> - the class name</dd>
<dt><span class="strong">Returns:</span></dt><dd>the class represented by <code>className</code> using the current thread's context class loader</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code> - if the class is not found</dd></dl>
</li>
</ul>
<a name="getClass(java.lang.String, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClass</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;getClass(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;className,
                boolean&nbsp;initialize)
                         throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre>
<div class="block">Returns the class represented by <code>className</code> using the
 current thread's context class loader. This implementation supports the
 syntaxes "<code>java.util.Map.Entry[]</code>", "<code>java.util.Map$Entry[]</code>",
 "<code>[Ljava.util.Map.Entry;</code>", and "<code>[Ljava.util.Map$Entry;</code>".</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>className</code> - the class name</dd><dd><code>initialize</code> - whether the class must be initialized</dd>
<dt><span class="strong">Returns:</span></dt><dd>the class represented by <code>className</code> using the current thread's context class loader</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></code> - if the class is not found</dd></dl>
</li>
</ul>
<a name="getPublicMethod(java.lang.Class, java.lang.String, java.lang.Class...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPublicMethod</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>&nbsp;getPublicMethod(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;methodName,
                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;...&nbsp;parameterTypes)
                              throws <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/SecurityException.html?is-external=true" title="class or interface in java.lang">SecurityException</a>,
                                     <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NoSuchMethodException.html?is-external=true" title="class or interface in java.lang">NoSuchMethodException</a></pre>
<div class="block"><p>Returns the desired Method much like <code>Class.getMethod</code>, however
 it ensures that the returned Method is from a public class or interface and not
 from an anonymous inner class. This means that the Method is invokable and
 doesn't fall foul of Java bug
 <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4071957">4071957</a>).</p>

  <pre>
  <code>Set set = Collections.unmodifiableSet(...);
  Method method = ClassUtils.getPublicMethod(set.getClass(), "isEmpty",  new Class[0]);
  Object result = method.invoke(set, new Object[]);</code>
  </pre></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class to check, not null</dd><dd><code>methodName</code> - the name of the method</dd><dd><code>parameterTypes</code> - the list of parameters</dd>
<dt><span class="strong">Returns:</span></dt><dd>the method</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the class is null</dd>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/SecurityException.html?is-external=true" title="class or interface in java.lang">SecurityException</a></code> - if a security violation occurred</dd>
<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/NoSuchMethodException.html?is-external=true" title="class or interface in java.lang">NoSuchMethodException</a></code> - if the method is not found in the given class
  or if the method doesn't conform with the requirements</dd></dl>
</li>
</ul>
<a name="toClass(java.lang.Object...)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toClass</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;[]&nbsp;toClass(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>...&nbsp;array)</pre>
<div class="block"><p>Converts an array of <code>Object</code> in to an array of <code>Class</code> objects.
 If any of these objects is null, a null element will be inserted into the array.</p>

 <p>This method returns <code>null</code> for a <code>null</code> input array.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>array</code> - an <code>Object</code> array</dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>Class</code> array, <code>null</code> if null array input</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="getShortCanonicalName(java.lang.Object, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShortCanonicalName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getShortCanonicalName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
                           <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueIfNull)</pre>
<div class="block"><p>Gets the canonical name minus the package name for an <code>Object</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the class to get the short name for, may be null</dd><dd><code>valueIfNull</code> - the value to return if null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the canonical name of the object without the package name, or the null value</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="getShortCanonicalName(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShortCanonicalName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getShortCanonicalName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block"><p>Gets the canonical name minus the package name from a <code>Class</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class to get the short name for.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the canonical name without the package name or an empty string</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="getShortCanonicalName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShortCanonicalName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getShortCanonicalName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;canonicalName)</pre>
<div class="block"><p>Gets the canonical name minus the package name from a String.</p>

 <p>The string passed in is assumed to be a canonical name - it is not checked.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>canonicalName</code> - the class name to get the short name for</dd>
<dt><span class="strong">Returns:</span></dt><dd>the canonical name of the class without the package name or an empty string</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="getPackageCanonicalName(java.lang.Object, java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPackageCanonicalName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPackageCanonicalName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;object,
                             <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;valueIfNull)</pre>
<div class="block"><p>Gets the package name from the canonical name of an <code>Object</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>object</code> - the class to get the package name for, may be null</dd><dd><code>valueIfNull</code> - the value to return if null</dd>
<dt><span class="strong">Returns:</span></dt><dd>the package name of the object, or the null value</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="getPackageCanonicalName(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPackageCanonicalName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPackageCanonicalName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;cls)</pre>
<div class="block"><p>Gets the package name from the canonical name of a <code>Class</code>.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>cls</code> - the class to get the package name for, may be <code>null</code>.</dd>
<dt><span class="strong">Returns:</span></dt><dd>the package name or an empty string</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="getPackageCanonicalName(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPackageCanonicalName</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPackageCanonicalName(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;canonicalName)</pre>
<div class="block"><p>Gets the package name from the canonical name. </p>

 <p>The string passed in is assumed to be a canonical name - it is not checked.</p>
 <p>If the class is unpackaged, return an empty string.</p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>canonicalName</code> - the canonical name to get the package name for, may be <code>null</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the package name or an empty string</dd><dt><span class="strong">Since:</span></dt>
  <dd>2.4</dd></dl>
</li>
</ul>
<a name="hierarchy(java.lang.Class)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hierarchy</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;hierarchy(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type)</pre>
<div class="block">Get an <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> that can iterate over a class hierarchy in ascending (subclass to superclass) order,
 excluding interfaces.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the type to get the class hierarchy from</dd>
<dt><span class="strong">Returns:</span></dt><dd>Iterable an Iterable over the class hierarchy of the given class</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
<a name="hierarchy(java.lang.Class, org.apache.commons.lang3.ClassUtils.Interfaces)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>hierarchy</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&gt;&nbsp;hierarchy(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;type,
                           <a href="../../../../org/apache/commons/lang3/ClassUtils.Interfaces.html" title="enum in org.apache.commons.lang3">ClassUtils.Interfaces</a>&nbsp;interfacesBehavior)</pre>
<div class="block">Get an <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang"><code>Iterable</code></a> that can iterate over a class hierarchy in ascending (subclass to superclass) order.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>type</code> - the type to get the class hierarchy from</dd><dd><code>interfacesBehavior</code> - switch indicating whether to include or exclude interfaces</dd>
<dt><span class="strong">Returns:</span></dt><dd>Iterable an Iterable over the class hierarchy of the given class</dd><dt><span class="strong">Since:</span></dt>
  <dd>3.2</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ClassUtils.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../org/apache/commons/lang3/ClassPathUtils.html" title="class in org.apache.commons.lang3"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../org/apache/commons/lang3/ClassUtils.Interfaces.html" title="enum in org.apache.commons.lang3"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/commons/lang3/ClassUtils.html" target="_top">Frames</a></li>
<li><a href="ClassUtils.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2001&#x2013;2014 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>
